package com.itheima.service;

import com.itheima.domain.SmsHomeRecommendSubject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.util.PageBean;

import java.util.List;

/**
 * <p>
 * 首页推荐专题表 服务类
 * </p>
 *
 * @author zhuguo
 * @since 2022-11-10
 */
public interface SmsHomeRecommendSubjectService extends IService<SmsHomeRecommendSubject> {
    PageBean list(Integer pageNum, Integer pageSize, String subjectName, Integer recommendStatus);

    int create( List<SmsHomeRecommendSubject> recommendSubjects);

    int delete(List<Long> ids);

    int updateStatus(List<Long> ids, Integer recommendStatus);

    int updateSort(Integer sort, Integer id);
}
